package
{
    import away3d.loaders.Loader3D;
    import away3d.loaders.misc.AssetLoaderContext;
    import away3d.loaders.parsers.Max3DSParser;

    import brickred.containers.HoverScene;

    public class Scene3 extends HoverScene
    {
        [Embed(source="/assets/soldier_ant.3ds",mimeType="application/octet-stream")]
        public static var Model1:Class;

        [Embed(source="/assets/soldier_ant.jpg")]
        public static var Model1Texture:Class;

        private var model_:Loader3D;

        public function Scene3()
        {
            super(45, 45, 50);
            scene2d_.addChild(new SceneNaviBar());

            var load_context:AssetLoaderContext = new AssetLoaderContext();
            load_context.mapUrlToData("texture.jpg", new Model1Texture());
            model_ = new Loader3D();
            model_.loadData(new Model1(), load_context, null, new Max3DSParser(false));
            model_.scale(10);
            scene3d_.addChild(model_);
        }
    }
}
